package com.dfrz.stockMarket.model;

public class UserStocksModel {
	private int userID;
	private int stockCode;
	private String stockName;
	private double costPrice;
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public int getStockCode() {
		return stockCode;
	}
	public void setStockCode(int stockCode) {
		this.stockCode = stockCode;
	}
	public String getStockName() {
		return stockName;
	}
	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
	public double getCostPrice() {
		return costPrice;
	}
	public void setCostPrice(double costPrice) {
		this.costPrice = costPrice;
	}
	@Override
	public String toString() {
		return "UserStocks [userID=" + userID + ", stockCode=" + stockCode
				+ ", stockName=" + stockName + ", costPrice="
				+ costPrice + "]";
	}
	public UserStocksModel(int userID, int stockCode, String stockName,
			double d) {
		super();
		this.userID = userID;
		this.stockCode = stockCode;
		this.stockName = stockName;
		this.costPrice = d;
	}
	public UserStocksModel() {
		
	}
	
}
